export interface UserItem {
    id: number;
    key: string;
    name: string;
    age: number;
    address: string;
    tags: string[];
    loading: boolean;
    // tasks: TaskItem[];
}

export interface SyncItem {
    id: number;

    manufacturerName: any;// js 数据类型
    productName: any;// js 数据类型
    serialNumber: any;

    ip?: (string | null);
    port?: (string | null);

    key: string;
    loading: boolean;
    // tasks: TaskItem[];
}

// { id: number; title: string; content: string; ref_user: (number | null); status: boolean; userName: (string | null) }
export interface TaskItem {
    id: number;
    key: string;
    title: string;
    content: string;
    status: boolean;
    ref_user: number;
    loading: boolean;
    tags: string[];
    userName?: (string | null);
    // user: UserItem;
}
